package com.syni.mdd.yhd.common.all.entity;

import com.syni.mdd.yhd.common.all.entity.coupon.BmsFullCoupon;
import com.syni.mdd.yhd.common.all.entity.groupChat.BmsDxGroupChat;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Entity
@Table(name="bms_pazar_condition")
@Data
public class BmsPazarCondition implements Serializable {

    @Id                                                  //主键
    @GeneratedValue(strategy= GenerationType.IDENTITY)   //自增主键
    private Integer id;

    @Column(name = "user_id")
    private Integer userId;

    @Column(name = "business_id")
    private Integer businessId;

    @Column(name = "agent_id")
    private String agentId;

    @Column(name = "business_status")
    private Integer businessStatus = 0;

    @Column(name = "pay_status")
    private Integer payStatus = 0;

    @Column(name = "pay_time")
    private Date payTime;

    @Column(name = "coupon_status")
    private Integer couponStatus = 0;

    @Column(name = "coupon_time")
    private Date couponTime;

    @Column(name = "group_status")
    private Integer groupStatus = 0;

    @Column(name = "is_exclusive")
    private Integer isExclusive = 0;

    @Column(name = "new_time")
    private Date newTime;

    @Column(name = "update_time")
    private Date updateTime;

}

